package com.ke.searchhouse.base;

import lombok.Data;

/**
 * @author  keke
 * @create  2018/10/18 0018 下午 9:31
 * @desc DataTable 响应格式
 **/
@Data
public class DataTableResponse extends Response{

    private int draw;

    private long recordsTotal;

    private long recordsFiltered;

    public DataTableResponse(Response.Status status) {
        super(status.getCode(), status.getStandardMessage(), null);
    }

    public DataTableResponse(int code, String message, Object data) {
        super(code, message, data);
    }
}
